﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="customerData.aspx.cs" Inherits="AutoInsurance.customerData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    
    <asp:Label ID="Label1" runat="server" Text="Данные клиента"></asp:Label>
    <asp:GridView ID="GridView1" runat="server" 
        onselectedindexchanged="GridView1_SelectedIndexChanged" 
        DataKeyNames="id_client" style="margin-right: 20px" AutoGenerateColumns="False" >
        <Columns>
            <asp:CommandField ShowSelectButton="True" ButtonType="Button" SelectText="Подробнее" />
                <asp:BoundField DataField="name" HeaderText="Имя" SortExpression="name" />
                <asp:BoundField DataField="surname" HeaderText="Фамилия" 
                    SortExpression="surname" />
                <asp:BoundField DataField="ratings" HeaderText="Паспортные данные" 
                    SortExpression="ratings" />
                <asp:BoundField DataField="birthdate" HeaderText="Дата рождения" SortExpression="birthdate" />
                <asp:BoundField DataField="Phone" HeaderText="Номер телефона" SortExpression="Phone" /> 
      </Columns> 
    </asp:GridView>

    

</asp:Content>
